package cn.cqone.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CustomerDevPlan extends BaseDomain{

   //计划时间
   private Date planTime;

   //计划主题
   private String planSubject;

   //计划内容
   private String planDetails;

   //计划类型
   private DictoryDetails planType_id;

   //潜在客户
   private PotentialCustomer potentialCustomer_id;

   //创建人
   private Employee inputUser_id;

   //创建时间
   private Date inputTime;

   //所属租户
   private Tenant tenant_id;

   @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
   public Date getPlanTime() {
      return planTime;
   }

   @DateTimeFormat(pattern = "yyyy-MM-dd")
   public void setPlanTime(Date planTime) {
      this.planTime = planTime;
   }

   @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
   public Date getInputTime() {
      return inputTime;
   }

   @DateTimeFormat(pattern = "yyyy-MM-dd")
   public void setInputTime(Date inputTime) {
      this.inputTime = inputTime;
   }

}
